package library.and.xps.com.step.m.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XPS on 2017/5/10.
 */

public class Search extends BaseResponce implements Serializable {

    /**
     * error : null
     * obj : null
     * list : [{"teamId":35,"tname":"天津芯帕斯开发组","enterprise":"天津芯帕斯","enterpriseid":0,"type":0,"mark":"a2807e77-250a-4d0f-81c5-6e1e0ab0bc46","creater":0,"role":0,"password":"123","departmentid":0}]
     */

    private List<ListBean> list;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "Search{" +
                "status=" + status +
                "code=" + code +
                "error=" + error +
                "list=" + list.toString() +
                '}';
    }


    public static class ListBean implements Serializable {

        @Override
        public String toString() {
            return "ListBean{" +
                    "teamId=" + teamid +
                    ", tname='" + tname + '\'' +
                    ", enterprise='" + enterprise + '\'' +
                    ", enterpriseid=" + enterpriseid +
                    ", type=" + type +
                    ", mark='" + mark + '\'' +
                    ", creater=" + creater +
                    ", role=" + role +
                    ", password='" + password + '\'' +
                    ", departmentid=" + departmentid +
                    '}';
        }

        /**
         * teamId : 35
         * tname : 天津芯帕斯开发组
         * enterprise : 天津芯帕斯
         * enterpriseid : 0
         * type : 0
         * mark : a2807e77-250a-4d0f-81c5-6e1e0ab0bc46
         * creater : 0
         * role : 0
         * password : 123
         * departmentid : 0
         */

        private int teamid;
        private String tname;
        private String enterprise;
        private int enterpriseid;
        private int type;
        private String mark;
        private int creater;
        private int role;
        private String password;
        private int departmentid;

        public int getTeamId() {
            return teamid;
        }

        public void setTeamId(int teamId) {
            this.teamid = teamId;
        }

        public String getTname() {
            return tname;
        }

        public void setTname(String tname) {
            this.tname = tname;
        }

        public String getEnterprise() {
            return enterprise;
        }

        public void setEnterprise(String enterprise) {
            this.enterprise = enterprise;
        }

        public int getEnterpriseId() {
            return enterpriseid;
        }

        public void setEnterpriseId(int enterpriseId) {
            this.enterpriseid = enterpriseId;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }

        public int getCreater() {
            return creater;
        }

        public void setCreater(int creater) {
            this.creater = creater;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public int getDepartmentId() {
            return departmentid;
        }

        public void setDepartmentId(int departmentId) {
            this.departmentid = departmentId;
        }
    }
}
